<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
	</head>
	<body>
		<div class="wrapper" style="width: 656px; margin: 0 22pt 20pt 22pt;">
			<div class="header">
				<div class="header-top" style="border-top: 2px solid #000000; border-bottom: 2px solid #000000;">
					<table>
						<tr>
							<td width="375" style="padding: 18pt 0;">
								<br/><br/>
								<img style="margin: 18pt 0;" src="<?php echo site_url()?>media/images/mail-logo.png"/>
							</td>
							<td width="280" style="padding-top: 35pt;font-family: Lucida Bright;">
								<br/><br/>
								<span style="font-size: 14pt; font-weight: bold;  font-style: italic; "><?php echo language_translate('invoice_temp_address0');?></span><br/>
								<span style="font-size: 12pt;"><?php echo language_translate('invoice_temp_address1');?></span><br/>
								<span style="font-size: 12pt; font-weight: bold; font-style: italic;"><?php echo language_translate('invoice_temp_address2');?></span>
							</td>
						</tr>
					</table>
				</div>
				<div class="header-middle" style="border-bottom: 2px solid #000000;">
					<table>
						<tr>
							<td  width="375" style="padding: 10pt 0 10pt 0; font-size: 13pt; font-family: Lucida Bright;">
								<span style="font-size: 13pt; font-weight: bold;"><?php echo language_translate('email_template_address');?></span><br/>
								<span style="font-size: 13pt; font-weight: bold;"><?php echo language_translate('email_template_direction');?></span>
							</td>
							<td>
								<span style="font-size: 16pt; font-weight: bold;"><?php echo language_translate('contract_order_orderid');?> /###ID###</span><br/>
								<span style="font-size: 14pt; font-weight: bold;"><?php echo sysDateFormat(time(), DATE_FORMAT);?></span>
							</td>
						</tr>
					</table>
				</div>
				<div class="header-bottom">
					<table>
						<tr>
							<td width="375" style="font-size: 16pt; font-family: Lucida Bright;">
								<?php echo language_translate('invoice_client_name');?>: ###CLIENT_NAME###<br/>
								<?php echo language_translate('invoice_client_address');?>: ###CLIENT_ADDRESS###<br/>
								<?php echo language_translate('invoice_client_email');?>: ###CLIENT_EMAIL###
							</td>
							<td width="280" style="">
							</td>
						</tr>
					</table>
				</div>
			</div>
			<div class="content" style="margin: 5pt 0;">
			<table width="600">
				<tr>
					<td style="border-bottom: 1pt solid #000000; padding-top: 5pt; margin-bottom: 5pt;"><?php echo language_translate('invoice_concept');?></td>
					<td style="border-bottom: 1pt solid #000000; padding-top: 5pt; margin-bottom: 5pt;"><?php echo language_translate('invoice_price');?></td>
					<td style="border-bottom: 1pt solid #000000; padding-top: 5pt; margin-bottom: 5pt;"><?php echo language_translate('invoice_quantity');?></td>
				</tr>
				###LINES###
			</table>
			<br/>
			<div class="content" style="margin: 10px 0;font-family: Lucida Bright;">
				###DISCOUNTINFO###
			</div>
			<br/>
			<table width="600">
				<tr>
					<td style="border-bottom: 1pt solid #000000; padding-top: 5pt; margin-bottom: 5pt;"><?php echo language_translate('invoice_base_tax');?></td>
					<td style="border-bottom: 1pt solid #000000; padding-top: 5pt; margin-bottom: 5pt;"><?php echo language_translate('invoice_vat');?></td>
					<td style="border-bottom: 1pt solid #000000; padding-top: 5pt; margin-bottom: 5pt;"><?php echo language_translate('invoice_total');?></td>
				</tr>
				###RESULT###
			</table>
			</div>
			
			<div class="content" style="margin: 10px 0;font-family: Lucida Bright;">
				###MOREINFO###
			</div>
			
			<div class="content" style="margin: 10px 0;font-family: Lucida Bright;">
				###BODY###
			</div>
			<div class="footer" style="border-top: 2pt solid #000000;font-size: 15pt; text-align: center; padding-top: 15pt;">
				<?php echo language_translate('email_template_footer');?>
			</div>
		</div>
	</body>
</html>
